<?php

use think\migration\Seeder;

class OauthScope extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
        $singleRow = [
            'scope'         => 'base',
            'is_default'    => 1
        ];

        $this->table('oauth_scopes')->insert($singleRow)->save();
    }
}